<!doctype html>
{% extends "base.html" %}
{% block title %}配置管理{% endblock title %}

{% block page1_show %}show{% endblock page1_show %}
{% block page1.3_active %}active{% endblock page1.3_active %}

{% block main_content %}
<div class="row">
    <div class="col-md-12">
        <div class="card">
            <div class="card-header">
                <h5 class="card-title">配置管理</h5>
                <h6 class="card-subtitle text-muted">对部署到主机的应用进行相关设置</h6>
            </div>
            <div class="card-body">
                <form method="post" action="/config">
                    <div class="form-group row">
                        <label class="col-form-label col-sm-2 text-sm-right">JDK版本</label>
                        <div class="col-sm-10">
                            <input type="text" name="jdk_version" class="form-control" required="" placeholder="镜像源中已有的完整文件名" value="{{ setting.jdk_version }}">
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-form-label col-sm-2 text-sm-right">MySQL版本</label>
                        <div class="col-sm-10">
                            <input type="text" name="mysql_version" class="form-control" required="" placeholder="镜像源中已有的完整文件名" value="{{ setting.mysql_version }}">
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-form-label col-sm-2 text-sm-right">Nginx版本</label>
                        <div class="col-sm-10">
                            <input type="text" name="nginx_version" class="form-control" required="" placeholder="镜像源中已有的完整文件名" value="{{ setting.nginx_version }}">
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-form-label col-sm-2 text-sm-right">Tomcat版本</label>
                        <div class="col-sm-10">
                            <input type="text" name="tomcat_version" class="form-control" required="" placeholder="镜像源中已有的完整文件名" value="{{ setting.tomcat_version }}">
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-form-label col-sm-2 text-sm-right">Redis版本</label>
                        <div class="col-sm-10">
                            <input type="text" name="redis_version" class="form-control" required="" placeholder="镜像源中已有的完整文件名" value="{{ setting.redis_version }}">
                        </div>
                    </div>
                    
                    <div class="form-group row">
                        <div class="col-sm-10 ml-sm-auto">
                            <button type="submit" class="btn btn-primary">提 交</button>
                        </div>
                    </div>

                </form>
            </div>
        </div>
    </div>
</div>
{% endblock main_content %}

{% block script %}
{% endblock script %}